package com.njtoyo.taxi.admin.mapper.master.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.njtoyo.taxi.admin.library.common.GeoPoint;
import com.njtoyo.taxi.admin.mapper.master.enums.OnCallBackLogContactWho;
import com.njtoyo.taxi.admin.mapper.master.enums.OnCallBackLogSourcePlatform;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author Dell
 * @since 2022-04-28
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="OnCallBacklog对象", description="")
public class OnCallBacklog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "呼叫人号码")
    private String callerMobileNumber;

    @ApiModelProperty(value = "乘车人姓名")
    private String customerName;

    @ApiModelProperty(value = "乘车人手机号")
    private String customerMobileNumber;

    @ApiModelProperty(value = "上车点adcode")
    private String originAdcode;

    @ApiModelProperty(value = "上车点名称")
    private String originName;

    @ApiModelProperty(value = "上车点坐标")
    private GeoPoint originPoint;

    @ApiModelProperty(value = "目的地adcode")
    private String destinationAdcode;

    @ApiModelProperty(value = "目的地名称")
    private String destinationName;

    @ApiModelProperty(value = "目的地坐标")
    private GeoPoint destinationPoint;

    @ApiModelProperty(value = "期望用车时间毫秒")
    private Long expectTimestamp;

    @ApiModelProperty(value = "联系谁")
    private OnCallBackLogContactWho contactWho;

    @ApiModelProperty(value = "回调通知地址")
    private String callbackUrl;

    @ApiModelProperty(value = "simple_call 表的ID")
    private Long simpleCallId;

    @ApiModelProperty(value = "订单来源平台")
    private OnCallBackLogSourcePlatform sourcePlatform;

    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    @ApiModelProperty(value = "更新时间")
    private Date updatedAt;
}
